package com.demo.test.annotion;

import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.*;

/**
 * @
 *
 * @author YT
 * @date 2019-05-10
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
public @interface MyInterface {

    @AliasFor("value")
    String path() default "";

    @AliasFor("path")
    String value() default "";
}
